package com.jt.service;

import com.jt.dao.UserDao;
import com.jt.pojo.User;

public class UserServiceImpl  implements  UserService{
    private UserDao userdao;
    public void setUserdao(UserDao userdao){
        this.userdao=userdao;

    }
    @Override
    public void addUser(User user) {
        System.out.println("向dao添加user");
        userdao.addUser(user);
    }
}
